package zac.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
import zac.pojo.Emp;

import java.util.List;

/**
 * @Title
 * @Author Peihan.Zhang
 * @Email zhangpeihan@sjgtw.com
 * @Date 2021/10/17 22:52
 * @Versions 1.0
 */
public interface Empdao {

    @Select("select * from emp")
    public List<Emp>   findAll();


    @Delete("delete  * from emp where id =4")
    public  void  deleteById();
}
